<template>
    <button @click="handleTest">点击测试请求</button>
</template>
<script setup lang="ts">
import { getTestApi } from "@/api/testAxios";

const handleTest = async () => {
    const res = await getTestApi({});
    console.log(res)
}
</script>

<style scoped lang="scss">
button {
    background-color: skyblue;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
</style>